#ifndef __MEBSP_LPF_H
#define __MEBSP_LPF_H 			   
  
#include "at32f403a_407.h"
#include <stdint.h>


typedef struct
{
  uint16_t wLastVal;
  uint16_t wNewVal;
  uint16_t wK;
  
}_MB_LPF_T;

extern _MB_LPF_T MB_LPF_IBus;

extern void MeBsp_LPF_Init(void);
extern uint16_t MeBsp_LPF_Get_Val(_MB_LPF_T *pLpf,uint16_t input_val);

#endif





























